/**
 * 筛选配置
 * 用户管理删除 user-manage-delete
 */
const selectConfig = {
  'user-manage-delete': [
    {
      type: 'select-input',
      name: '姓名',
      prop: 'fullName',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入姓名',
        iconConfig: {
          type: 'suffix',
          icon: 'el-icon-search',
          isClick: true,
          style: { cursor: 'pointer' }
        }
      }
    },
    {
      type: 'select-input',
      name: '用户名',
      prop: 'userName',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入用户名',
        iconConfig: {
          type: 'suffix',
          icon: 'el-icon-search',
          isClick: true,
          style: { cursor: 'pointer' }
        }
      }
    },
    {
      type: 'select-input',
      name: '手机号码',
      prop: 'mobilePhone',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入手机号码',
        iconConfig: {
          type: 'suffix',
          icon: 'el-icon-search',
          isClick: true,
          style: { cursor: 'pointer' }
        }
      }
    },

    {
      type: 'select-tree',
      name: '所属机构',
      prop: 'deptId',
      optionList: [],
      selectPath: 'deptTree',
      selectParams: {},
      treeAttrConfig: {
        props: {
          children: 'children',
          label: 'deptName'
        }
      },
      dataProp: {
        dataType: 'resData',
        treeConfig: {
          id: 'id',
          parentId: 'parentId'
        }
      },
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请选择所属机构'
      }
    }
  ]
}

export default {}
export { selectConfig }
